package com.yoga.manager.admin;

import com.yoga.common.appexception.AppException;
import com.yoga.common.bo.PhotoAlbumBO;
import com.yoga.common.page.PageBO;
import com.yoga.common.qto.PhotoAlbumQTO;

/**
 * Created by hdx on 2020/10/20.
 */
public interface AdminPhotoAlbumManager {
    PhotoAlbumBO addData(PhotoAlbumBO photoAlbumBO) throws AppException;

    Boolean updateData(PhotoAlbumBO photoAlbumBO) throws AppException;

    Boolean deleteById(Long photoAlbumId) throws AppException;

    PhotoAlbumBO findById(Long photoAlbumId) throws AppException;

    PageBO<PhotoAlbumBO> findForPage(PhotoAlbumQTO photoAlbumQTO) throws AppException;
}
